package crawer.Appmain;


import java.rmi.Remote;
import java.rmi.RemoteException;


public interface RemoteMainTask  extends Remote {
	
	public long getCurrentPoolQueenSize()  throws RemoteException;
	public long getCurrentPoolSize()  throws RemoteException;
    public void start() throws RemoteException;
    public void restart() throws RemoteException;
    public void cancel() throws RemoteException;
    public void stop() throws RemoteException;
    public void pause() throws RemoteException;
    public void resume() throws RemoteException;
}
